import request from '@/utils/request'

// 查询叙词表数据加工列表
export function listThesauriWord(query) {
  return request({
    url: '/system/thesauriWord/list',
    method: 'get',
    params: query
  })
}

// 查询叙词表数据加工详细
export function getThesauriWord(id) {
  return request({
    url: '/system/thesauriWord/' + id,
    method: 'get'
  })
}

// 新增叙词表数据加工
export function addThesauriWord(data) {
  return request({
    url: '/system/thesauriWord',
    method: 'post',
    data: data
  })
}

// 修改叙词表数据加工
export function updateThesauriWord(data) {
  return request({
    url: '/system/thesauriWord',
    method: 'put',
    data: data
  })
}

// 删除叙词表数据加工
export function delThesauriWord(id) {
  return request({
    url: '/system/thesauriWord/' + id,
    method: 'delete'
  })
}

// 导出叙词表数据加工
export function exportThesauriWord(query) {
  return request({
    url: '/system/thesauriWord/export',
    method: 'get',
    params: query
  })
}